<?php

    // TITLE: project
    // FILE: project.php
    // AUTHOR: dantira
    // CREATED: Mar 8, 2015, 4:25:24 PM

?>
<h2>Project</h2>
<hr>

<input type="hidden" id="dir" value="<?php echo $dir; ?>">
<input type="hidden" id="sub" value="<?php echo $sub; ?>">
<input type="hidden" id="projectId" value="<?php echo $projectId; ?>">

<h3>Details</h3>
<?php include 'shared/viewProject.php'; ?>

<h3>Status</h3>
<?php include 'shared/listProjectStatus.php'; ?>

<h3>Address</h3>
$address = $project->getAddress();
<button class="edit" onclick="godo('edit', <?php echo $address->getId(); ?>);">Edit</button>
<?php include 'shared/viewAddress.php'; ?>

<h3>Expenses</h3>
<?php include 'shared/listProjectExpense.php'; ?>

<h3>Work</h3>
<?php include 'shared/listProjectEvents.php'; ?>NEED TO CREATE THIS FILE

<h3>Volunteers</h3>
<?php include 'shared/listVolunteer.php'; ?>

<hr>

<div class="notes"></div>